package com.ruoyi.light.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.domain.light.LitConfigErrRole;

import java.util.List;

/**
 * 用户和角色关联 服务层
 *
 * @author ruoyi
 * @date 2022-02-22
 */
public interface ILitConfigErrRoleService extends IService<LitConfigErrRole>
{


    List<Long> getAllRoleIdsErrId(Long errId);

    List<Long> getAllErrIdsRoleIds(List<Long> roleIdList);

    boolean exists(Long errId, List<Long> roleIdList);
}